<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/logo.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <style>
      #loading-bg {
        display: block;
        position: absolute;
        width: 100%;
        height: 100%;
        background: #fff;
      }
      .loading {
        position: absolute;
        top: 50%;
        left: calc(50% - 35px);
        box-sizing: border-box;
        border: 3px solid transparent;
        border-radius: 50%;
        width: 55px;
        height: 55px;
      }
      .loading .effect-1,
      .loading .effect-2 {
        position: absolute;
        box-sizing: border-box;
        border: 3px solid transparent;
        border-left: 3px solid #0070ed;
        border-radius: 50%;
        width: 100%;
        height: 100%;
      }
      .loading .effect-1 {
        animation: rotate 1s ease infinite;
      }
      .loading .effect-2 {
        animation: rotateOpacity 1s ease infinite 0.1s;
      }
      .loading .effect-3 {
        position: absolute;
        box-sizing: border-box;
        border: 3px solid transparent;
        border-left: 3px solid #0070ed;
        border-radius: 50%;
        width: 100%;
        height: 100%;
        animation: rotateOpacity 1s ease infinite 0.2s;
      }
      .loading .effects {
        transition: all 0.3s ease;
      }
      @keyframes rotate {
        0% {
          transform: rotate(0deg);
        }
        100% {
          transform: rotate(1turn);
        }
      }
      @keyframes rotateOpacity {
        0% {
          opacity: 0.1;
          transform: rotate(0deg);
        }
        100% {
          opacity: 1;
          transform: rotate(1turn);
        }
      }
    </style>
    <title>可乐在线协作白板</title>
  </head>
  <body>
    <div id="app">
      <div id="loading-bg">
        <div class="loading">
          <div class="effect-1 effects"></div>
          <div class="effect-2 effects"></div>
          <div class="effect-3 effects"></div>
        </div>
      </div>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
